import request from '@/request.js';

// 获取客户信息
export function getCustomerInfo(data) {
	return request({
		url: "/api/admin/EnterpriseWinXin/getCustomerInfo",
		method: 'get',
		params:data
	})
}
// 学校

export function schoolList(data) {
	return request({
		url: "/api/adminschool/school/page",
		method: 'get',
		params:data
	})
}

export function schoolRead(data) {
	return request({
		url: "/api/adminschool/school/selectById",
		method: 'get',
		params:data
	})
}

// 教授

export function professorList(data) {
	return request({
		url: "/api/adminprofessor/professor/page",
		method: 'get',
		params:data
	})
}

export function professorRead(data) {
	return request({
		url: "/api/adminprofessor/professor/selectById",
		method: 'get',
		params:data
	})
}


// course

export function courseList(data) {
	return request({
		url: "/api/admincourseOutline/courseOutline/page",
		method: 'get',
		params:data
	})
}


export function courseRead(data) {
	return request({
		url: "/api/admincourseOutline/courseOutline/selectById",
		method: 'get',
		params:data
	})
}

// student

export function studentList(data) {
	return request({
		url: "/api/adminstu/stuManage/page",
		method: 'get',
		params:data
	})
}

// order

export function orderList(data) {
	return request({
		url: "/api/adminstu/stuOrder/page",
		method: 'get',
		params:data
	})
}


export function orderRead(data) {
	return request({
		url: "/api/adminstu/stuOrder/selectById",
		method: 'get',
		params:data
	})
}


// market

export function marketList(data) {
	return request({
		url: "/api/adminmkt/mktChannel/page",
		method: 'get',
		params:data
	})
}


export function marketRead(data) {
	return request({
		url: "/api/adminmkt/mktChannel/selectById",
		method: 'get',
		params:data
	})
}

// 学期
export function semesterList(data) {
	return request({
		url: "/api/admin/semester/page",
		method: 'get',
		params:data
	})
}
export function semesterRead(data) {
	return request({
		url: "/api/admin/semester/selectById",
		method: 'get',
		params:data
	})
}

// 商机
export function stuBuspList(data) {
	return request({
		url: "/api/adminstu/stuBusp/page",
		method: 'get',
		params:data
	})
}

export function stuBuspRead(data) {
	return request({
		url: "/api/adminstu/stuBusp/selectById",
		method: 'get',
		params:data
	})
}